package com.xiangyouhui.base_project.domain;

import java.io.Serializable;

public class DataResult implements Serializable {

    private Integer return_code;

    private String return_message;

    private Object data;

    public DataResult(Integer return_code, String return_message, Object data) {
        this.return_code = return_code;
        this.return_message = return_message;
        this.data = data;
    }

    public Integer getReturn_code() {
        return return_code;
    }

    public String getReturn_message() {
        return return_message;
    }

    public Object getData() {
        return data;
    }

    public static final int SERVER_ERROR = -1;
    public static final int SUCCESS = 0;
    public static final int PARAM_ERROR = 1;
}

